News page with anchor links to each article [SOLVED]
Hi,
I want to setup a news page that shows the news articles and has a set of links at the top to jump to the relevant articles as follows, I believe they are called anchor links:
News Item 1 this is a link that takes you to the article below
News Item 2 this is a link that takes you to the article below
News Item 3 this is a link that takes you to the article below
News Item 1
Text text text text text text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text text.
News Item 2
text text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text text
News Item 3
text text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text text
I assume the best way to create articles are going to be child nodes of the "News" page but I'm not sure what the XSLT would look like to create the jump links at the top of the news page, hopefully I can work out the XSLT to list the actual articles. Any help or suggestions would be appreciated.
News page with anchor links to each article [SOLVED]
Hi,
I want to setup a news page that shows the news articles and has a set of links at the top to jump to the relevant articles as follows, I believe they are called anchor links:
News Item 1 this is a link that takes you to the article below
News Item 2 this is a link that takes you to the article below
News Item 3 this is a link that takes you to the article below
News Item 1
Text text text text text text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text text.
News Item 2
text text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text text
News Item 3
text text texttext text texttext text texttext text texttext text texttext text texttext text texttext text texttext text text
I assume the best way to create articles are going to be child nodes of the "News" page but I'm not sure what the XSLT would look like to create the jump links at the top of the news page, hopefully I can work out the XSLT to list the actual articles. Any help or suggestions would be appreciated.
Don't worry, I think I have solved it with the following XSLT code:
[code]
[/code]
is working on a reply...